/*#include "../easyunit/test.h"
#include "FactoryTest.h"

#include "../source/strategy/OptimalTree.h"

using namespace easyunit;

DECLARE(OptimalTree)
	FactoryTest* f;
	OptimalTree* optimalTree;
	Graph *t1, *t2, *t3, *t4, *t5, *t6, *t7;

END_DECLARE

SETUP(OptimalTree)
{
	optimalTree = new OptimalTree();
	f = FactoryTest::getInstance();

	t1 = f->createTree1();
	t1->setStrategy(optimalTree);

	t2 = f->createTree2();
	t2->setStrategy(optimalTree);

	t3 = f->createTree3();
	t3->setStrategy(optimalTree);

	t4 = f->createTree4();
	t4->setStrategy(optimalTree);

	t5 = f->createTree5();
	t5->setStrategy(optimalTree);

	t6 = f->createTree6();
	t6->setStrategy(optimalTree);	

	t7 = f->createTree7();
	t7->setStrategy(optimalTree);	
}

TEARDOWN(OptimalTree)
{
	delete t1;
	delete t2;
	delete t3;
	delete t4;
	delete t5;
	delete t6;
	delete optimalTree;
	delete f;

}

TESTF(OptimalTree, vertexCover)
{
	list<int> cover;

 	cover = t1->launchVertexCover();
	ASSERT_TRUE(cover.empty());

 	cover = t2->launchVertexCover();
	ASSERT_TRUE(cover.empty());

 	cover = t3->launchVertexCover();
	int expectedt3[] = {1};
	ASSERT_TRUE(cover.size() == ((sizeof expectedt3)/(sizeof expectedt3[0])));
	ASSERT_TRUE(equal(cover.begin(), cover.end(), expectedt3));

	cover = t4->launchVertexCover();
	int expectedt4[] = {1};
	ASSERT_TRUE(cover.size() == ((sizeof expectedt4)/(sizeof expectedt4[0])));
	ASSERT_TRUE(equal(cover.begin(), cover.end(), expectedt4));

	cover = t5->launchVertexCover();
	int expectedt5[] = {2, 3};
	ASSERT_TRUE(cover.size() == ((sizeof expectedt5)/(sizeof expectedt5[0])));
	ASSERT_TRUE(equal(cover.begin(), cover.end(), expectedt5));

	cover = t6->launchVertexCover();
	int expectedt6[] = {2, 3, 4, 9};
	ASSERT_TRUE(cover.size() == ((sizeof expectedt6)/(sizeof expectedt6[0])));
	ASSERT_TRUE(equal(cover.begin(), cover.end(), expectedt6));

	cover = t7->launchVertexCover();
	int expectedt7[] = {2, 4, 5, 6, 11};
	ASSERT_TRUE(cover.size() == ((sizeof expectedt7)/(sizeof expectedt7[0])));
	ASSERT_TRUE(equal(cover.begin(), cover.end(), expectedt7));
}*/
